package org.mch.comm.db.handler;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.apache.commons.dbutils.ResultSetHandler;

public class SingleIntegerHandler implements ResultSetHandler<Integer> {

	public Integer handle(ResultSet rs) throws SQLException {
		rs.next();
		return rs.getInt(1);
	}
}